import React, { Component } from 'react'
import './PContent.scss'
import { Route, Redirect } from 'react-router-dom'
import PCMain from './PCMain'
import PCS from './PCS'
import PCP from './PCP'
import PCPAW from './PCPAW'
import PCAPPD from './PCAPPD'
export default class PContent extends Component {
  render() {
    return (
      <div className="PContent">
        <Route
          path="/Peisong"
          exact
          render={() => <Redirect to="/Peisong/PContent/PCMain" />}
        />
        <Route path="/Peisong/PContent/PCMain" component={PCMain} />
        <Route path="/Peisong/PContent/PCS" component={PCS} />
        <Route path="/Peisong/PContent/PCP" component={PCP} />
        <Route path="/Peisong/PContent/PCPAW" component={PCPAW} />
        <Route path="/Peisong/PContent/PCAPPD" component={PCAPPD} />
      </div>
    )
  }
}
